package com.oig.sys.file.service;

import com.oig.sys.file.dto.FileInfoDto;
import com.oig.sys.file.vo.UploadVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IFileUploadService {

    UploadVo upload(MultipartFile file);


    List<UploadVo> upload(MultipartFile[] files);

    String moveBucket(String fileId,String businessType,String relationType);


    String getPutUrl(String businessType, String relationType, String fileName);
    String getDownloadUrl(String fileId);

    void removeFile(String fileId);

    void batchDownLoad(List<FileInfoDto> fileList, HttpServletResponse response);

}
